{extend name="Home/Theme/Inception/base" /}

{block name="meta"}
<meta name="keywords" content="{$nav['name']}">
<meta name="description" content="{$nav['name']}">
{/block}

{block name="title"}{$nav['name']}_{/block}

{block name="search"}
 <input name="nav_id" value="{$nav['id']}" type="hidden" />
 <input name="search" size="11" id="edtSearch" type="text">
{/block}

{block name="main"}

<div class="main zh">

  <div class="left fl mb15">
    <div class="list bgb ">
          <h2 class="place ybbt1">
           <i class="fa fa-home"></i> <a href="/index.html">网站首页</a>
           <i class="fa fa-angle-right"></i> {$nav['name']}
          </h2>
         <ul>
            {volist name="datas['datas']" id="data" empty="暂时没有数据"}
              <li>
                <h2>
                  <a href="/articles/{$data['id']}.html" title="{$data['name']}" target="_blank">{$data['name']}</a>
                </h2>
                <small>
                  <span>
                    <i class="fa fa-clock-o"></i> <a>{$data['update_time']}</a>
                  </span>
                  <span>
                    <i class="fa fa-user"></i>
                  </span>
                  <span>
                      <a href="/category/{$data['navs_id']}.html" target="_blank">
                        <i class="fa fa-folder"></i>
                        {$data['nav_name']}
                      </a>
                  </span>
                </small>
                <div class="clear"></div>
              </li>
          {/volist}
         </ul>
    </div>
    <ul class="pagination">
        {include file="Home/Theme/Inception/page" /}
    </ul>
  </div>

   <div class="right fr sjwu">
    {include file="Home/Theme/Inception/navchild" /}
    {include file="Home/Theme/Inception/news" /}
   </div>
   <div class="clear"></div>
  </div>

</div>
{/block}
{block name="js"}
<script>
  $("#go").click(function(){
    let page = $("#goPage").val();
    if (page > 0 && page <= Number($(".num:last").text())) {
      location.href="{$url}?page="+page+"&{$datas['query']|raw}"
    }
  })
</script>
{/block}
